import request from "./request.js"

export const getAllUsers = () => {
    return request({
        url: '/api/users/all',
        method: 'get',
    })
}

export const deleteUser = (id) => {
    return request({
        url: `/api/users/${id}`,
        method: 'delete'
    })
}